﻿<Grid x:Class="DCView.CommentView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="480" d:DesignWidth="480" Margin="{Binding MarginByLevel}">
    
    <Grid.ColumnDefinitions>
        <ColumnDefinition Width="5" />
        <ColumnDefinition Width="*" />
    </Grid.ColumnDefinitions>

    <Rectangle HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Fill="{StaticResource DCViewAccentBrush}" Grid.Column="0" />
    <StackPanel Margin="6, 0, 0, 0" Grid.Column="1">
        <StackPanel x:Name="Contents" />

        <StackPanel Orientation="Horizontal">

            <TextBlock Text="{Binding Name}" Style="{StaticResource DCViewTextSmallStyle}" Margin="0, 3, 0, 3"/>
            <Rectangle Margin="2" Width="10" Height="10" VerticalAlignment="Bottom" 
                            Stroke="Gray" Fill="{Binding MemberStatusBrush}"
                            Visibility="{Binding MemberStatusVisibility}"/>
        </StackPanel>
    </StackPanel>
</Grid>